package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 供应商投诉表
 * </p>
 *
 * @author baomidou
 * @since 2025-05-15
 */
@Getter
@Setter
@TableName("provider_complaint")
public class ProviderComplaint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 投诉ID
     */
    @TableId(value = "complaint_id", type = IdType.AUTO)
    private Integer complaintId;

    /**
     * 供应商ID
     */
    private Integer providerId;

    /**
     * 投诉类型
     */
    private String complaintType;

    /**
     * 投诉内容
     */
    private String complaintContent;

    /**
     * 严重程度 1-5
     */
    private Integer severity;

    /**
     * 投诉人ID
     */
    private Integer complainantId;

    /**
     * 投诉时间
     */
    private LocalDateTime complaintTime;

    /**
     * 处理状态 0-未处理 1-已处理
     */
    private Integer status;

    /**
     * 处理结果
     */
    private String result;

    /**
     * 处理时间
     */
    private LocalDateTime processTime;

    public Integer getComplaintId() {
        return complaintId;
    }

    public void setComplaintId(Integer complaintId) {
        this.complaintId = complaintId;
    }

    public Integer getProviderId() {
        return providerId;
    }

    public void setProviderId(Integer providerId) {
        this.providerId = providerId;
    }

    public String getComplaintType() {
        return complaintType;
    }

    public void setComplaintType(String complaintType) {
        this.complaintType = complaintType;
    }

    public String getComplaintContent() {
        return complaintContent;
    }

    public void setComplaintContent(String complaintContent) {
        this.complaintContent = complaintContent;
    }

    public Integer getSeverity() {
        return severity;
    }

    public void setSeverity(Integer severity) {
        this.severity = severity;
    }

    public Integer getComplainantId() {
        return complainantId;
    }

    public void setComplainantId(Integer complainantId) {
        this.complainantId = complainantId;
    }

    public LocalDateTime getComplaintTime() {
        return complaintTime;
    }

    public void setComplaintTime(LocalDateTime complaintTime) {
        this.complaintTime = complaintTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public LocalDateTime getProcessTime() {
        return processTime;
    }

    public void setProcessTime(LocalDateTime processTime) {
        this.processTime = processTime;
    }
}